package com.jzo2o.customer.controller.worker;

import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.service.IWorkerCertificationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 身份认证相关接口
 *
 * @author itcast
 * @create 2023/9/11 16:14
 **/
@RestController("workerIdCardController")
@RequestMapping("/worker/worker-certification-audit")
@Api(tags = "服务端 - 身份认证相关接口")
public class IdCardController {
    @Autowired
    private IWorkerCertificationService iworkerCertificationService;
   @PostMapping
   @ApiOperation("身份认证获取设置")
    public void idCard(@RequestBody WorkerCertificationAuditAddReqDTO idCard) {
       iworkerCertificationService.addIdCard(idCard);

    }
}
